if 5>12:
    print("5 is greater than 12")

    age = 30
    if age < 18:
        print ("You are underaged")
    elif age >= 18 and age < 30:
        print ("You are old")

        year = int(input("请输入年份："))
        if (year % 4 == 0 and year % 100 != 0) or (year % 400 == 0):
            print ("%d是闰年" % year)
        else:
            print(("%d不是闰年" % year))
